WPPayForm\App\Modules\PaymentMethods\Stripe\StripeHostedHandler B

Total Complexity 76
Dependencies 16
Dependents 3
Total lines 560
Lines of code 418
Logical lines of code 236
Comment lines 26
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
redirectToStripe()
B
35 16 83
getSubscriptionArgs()
B
36 16 79
getLineItems()
A
42 10 57
handleCheckoutSessionSuccess()
A
42 9 52
syncSubscription()
S
46 5 41
maybeSetCancelAt()
S
54 5 20
markPaymentSuccess()
S
56 4 19
showSuccessMessage()
S
55 4 19
cancelSubscription()
S
51 3 30
getIntentMetaData()
S
61 3 13
registerHooks()
S
71 1 5